package com.wxdc.nmgyt.nmgytwydc.common;

import android.graphics.Color;

import com.syd.oden.circleprogressdialog.core.CircleProgressDialog;

/**
 * Created by Administrator on 2018/3/27.
 */

public class MyCircleProgressDialog {

    public  static   void initCircleProgressDialog(CircleProgressDialog mCircleProgressDialog){
        //mCircleProgressDialog.setCancelable(false);
        //可对对话框的大小、进度条的颜色、宽度、文字的颜色、内容等属性进行设置
        mCircleProgressDialog.setDialogSize(85);
        mCircleProgressDialog.setProgressColor(Color.parseColor("#1E90FF"));
        mCircleProgressDialog.setTextColor(Color.parseColor("#FFFFFF"));

        //显示过程中可根据状态改变文字内容及颜色
        //mCircleProgressDialog.changeText("erro:...");
        //mCircleProgressDialog.changeTextColor(Color.parseColor("##EB0000"));
    }
}
